package one;

/**
 * @author zzb
 * @since 2021-01-12
 */

//启动
public class Test {

  public static void main(String[] args) {
    StudentWorkFactory studentWorkFactory = new StudentWorkFactory();
    studentWorkFactory.getWork().doWork();

    TeacherWorkFactory teacherWorkFactory = new TeacherWorkFactory();
    teacherWorkFactory.getWork().doWork();
  }
}
